package com.gukun.springboot.tdengine.service.writeplant;

public class TDConfigDto {
    private String dbName;
    private int vgroups = 4;

    private int buffer = 256;

    private String ip;
    private Integer port;
    private String username = "root";
    private String password = "taosdata";
    private Integer writeTaskCount = 3;

    private Integer readTaskCount = 1;

    private  Integer maxBatchSize = 100000;
    private Integer tableIndex = 0;

    private Integer tableCount = 50000;
    private String tablePre;

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public int getVgroups() {
        return vgroups;
    }

    public void setVgroups(int vgroups) {
        this.vgroups = vgroups;
    }

    public int getBuffer() {
        return buffer;
    }

    public void setBuffer(int buffer) {
        this.buffer = buffer;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getWriteTaskCount() {
        return writeTaskCount;
    }

    public void setWriteTaskCount(Integer writeTaskCount) {
        this.writeTaskCount = writeTaskCount;
    }

    public Integer getReadTaskCount() {
        return readTaskCount;
    }

    public void setReadTaskCount(Integer readTaskCount) {
        this.readTaskCount = readTaskCount;
    }

    public Integer getMaxBatchSize() {
        return maxBatchSize;
    }

    public void setMaxBatchSize(Integer maxBatchSize) {
        this.maxBatchSize = maxBatchSize;
    }

    public Integer getTableIndex() {
        return tableIndex;
    }

    public void setTableIndex(Integer tableIndex) {
        this.tableIndex = tableIndex;
    }

    public Integer getTableCount() {
        return tableCount;
    }

    public void setTableCount(Integer tableCount) {
        this.tableCount = tableCount;
    }

    public String getTablePre() {
        return tablePre;
    }

    public void setTablePre(String tablePre) {
        this.tablePre = tablePre;
    }
}
